home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Frameworks / TransSkel++ 305 / Documents / Release Notes / 3.01 Release Notes next >
Text File  |  1996-02-27  |  3KB  |  63 lines

  1. TransSkel++ 3.01 — Release Notes
  2.  
  3.    This document is an adjunct to the TransSkel++ Programmer’s 
  4.    Manual.  It lists changes and additions specific to release 
  5.    3.01.
  6.  
  7. Release 3.01
  8. Release Date: January 12, 1996
  9. Changes made in 3.01:
  10.  
  11. SUMMARY: Release 3.01 fixes a few bugs and adds some new
  12. features to the initial release.  Most fixes were due to
  13. errors with the original scheme for dynamic destruction of
  14. class instances.  Fixes were made which should make it safe
  15. to delete instances of a class from a class’s doClose() method
  16. (assuming the host won't try to delete the same instance a second
  17. time).  Base class definitions were slightly modified to make
  18. subclass definitions more flexible.
  19.  
  20.   • Make GetC(Window|Dialog) accessors non-static
  21.     so publicly accessible.  TransSkel++ users may find this
  22.     useful if all they have is a pointer to a QD window or dialog.
  23.   
  24.   • Fixed a potential bug with these accessors.  Previously,
  25.     the function could return bogus results if the window
  26.     or dialog was not a TransSkel++ window or dialog.
  27.   
  28.   • Added dummy constructors for the CMenu, CWindow, and CDialog
  29.     classes.  This makes it possible to create subclasses of
  30.     these base classes which don't use the standard constructors.
  31.   
  32.   • Added a condition to the CWindow and CDialog destructor to ensure
  33.     that pointers are non-nil.  This fixes an incompatibility with
  34.     TransEdit and TransDisply, both of whom's Clobber procs
  35.     call DisposeWindow.  TransEdit and TransDisplay set the
  36.     pointers to nil after their Clobber procs call DisposeWindow
  37.     so as to short-circuit the CWindow destructor's call.
  38.     (This is all so we can make CEditWindow and CDisplay window
  39.     subclasses of CWindow...)
  40.   
  41.   • Made destructors for all base classes virtual.
  42.     This allows the right destructors to be called
  43.     if an abstract reference is made to a subclass of
  44.     any of the base classes.
  45.   
  46.   • Added doMenuHook() method for CApplication class which
  47.     automatically gets called before Menu(Select|Key) QD
  48.     procedures.  Documented method in TransSkel Manual and warned 
  49.     against using SkelSetMenuHook.
  50.  
  51.   • Updated TransSkel++ Manual to indicate that CWindow and CDialog
  52.     constructors check to see if color QD available, and if
  53.     so, color windows/dialogs are created.
  54.   
  55.   • Reworked the window property for TransSkel++ which should make
  56.     later revisions easier.
  57.        
  58.        + Changed ClassPointerID to SkelppWindowPropertyID
  59.        + Made SkelppWindowProperty an internal struct, one
  60.          of whose fields is a pointer to the class instance.
  61.          Later versions of TransSkel++ can use additional
  62.          fields without having to use a new window property ID.
  63.